package com.huawei.pro.controller;

import com.huawei.pro.domain.Product;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProductController {

    @RequestMapping("/findProductById")
    public String findProductById(Integer pid){
        System.out.println("pid:"+pid);
        return "productinfo9102:"+pid+",very good!";
    }
}
